projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c06889
)
ngl: We only need two bits for phases
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 29 Mar 2021 01:13:23 +0000
(21:13 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 30 Mar 2021 04:19:28 +0000
(
00:19
-0400)
We use 4 phases, so 2 bits are enough.
gsk/ngl/gsknglglyphlibraryprivate.h
patch
|
blob
|
history
diff --git
a/gsk/ngl/gsknglglyphlibraryprivate.h
b/gsk/ngl/gsknglglyphlibraryprivate.h
index 5bf240e5e1fa32bae13821d6d80ec98027e68c44..819523144c740ec6a89d78ad3d77227242355a87 100644
(file)
--- a/
gsk/ngl/gsknglglyphlibraryprivate.h
+++ b/
gsk/ngl/gsknglglyphlibraryprivate.h
@@
-33,9
+33,9
@@
typedef struct _GskNglGlyphKey
{
PangoFont *font;
PangoGlyph glyph;
- guint xshift :
3
;
- guint yshift :
3
;
- guint scale : 2
6
; /* times 1024 */
+ guint xshift :
2
;
+ guint yshift :
2
;
+ guint scale : 2
8
; /* times 1024 */
} GskNglGlyphKey;
typedef struct _GskNglGlyphValue